const express = require('express')
const router = express.Router()
const passport = require('../passport')

router.use('/banner', passport.auth, require('./banner'))
router.use('/house', passport.auth, require('./house'))
router.use('/order', passport.auth, require('./order'))
router.use('/review', passport.auth, require('./review'))
router.use('/upload', passport.auth, require('./upload'))
router.use('/setting', passport.auth, require('./setting'))
router.use('/article', passport.auth, require('./article'))
router.use('/report', passport.auth, require('./report'))
router.use('/user', require('./user'))
router.use('/login', require('./user/login'))
router.use('/logout', require('./user/logout'))
module.exports = router

// const express = require('express')
// const router = express.Router()

// router.use('/house', require('./house'))
// router.use('/home', require('./home'))
// router.use('/city', require('./city'))
// module.exports = router